package com.itheima.d10_abstract_exer;

public class Teacher extends Person{

    public Teacher(String name, int age, String address) {
        super(name, age, address);
    }

    @Override
    public void write() {
        info();
        System.out.println("老师的授课经历");
    }
}
